import request from '@/utils/request'

// 查询考试试卷列表
export function listExaminationexaminationpaper(query) {
  return request({
    url: '/system/examinationexaminationpaper/list',
    method: 'get',
    params: query
  })
}

// 查询考试试卷详细
export function getExaminationexaminationpaper(id) {
  return request({
    url: '/system/examinationexaminationpaper/' + id,
    method: 'get'
  })
}

// 新增考试试卷
export function addExaminationexaminationpaper(data) {
  return request({
    url: '/system/examinationexaminationpaper',
    method: 'post',
    data: data
  })
}

// 修改考试试卷
export function updateExaminationexaminationpaper(data) {
  return request({
    url: '/system/examinationexaminationpaper',
    method: 'put',
    data: data
  })
}

// 删除考试试卷
export function delExaminationexaminationpaper(id) {
  return request({
    url: '/system/examinationexaminationpaper/' + id,
    method: 'delete'
  })
}

// 导出考试试卷
export function exportExaminationexaminationpaper(query) {
  return request({
    url: '/system/examinationexaminationpaper/export',
    method: 'get',
    params: query
  })
}